<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="frame/header.jsp"></jsp:include>

<title>地址类信息指南</title>
</head>

<body>

	<div class="container-fluid">
		<div id="market" class="row-fluid">
			<div>
				<ul class="breadcrumb">
					<li><a href="#">生活信息</a> <span class="divider">/</span></li>
					<li><a href="#">地址类信息指南</a></li>
				</ul>
			</div>

			<div class="box">
				<div class="box-header well" data-original-title>
					<h2>
						<i class="icon-th"></i> 地址类信息列表
					</h2>

					<div class="box-icon">
						<a href="#" class="btn btn-setting btn-round"><i
							class="icon-cog"></i></a> <a href="#"
							class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
						<a href="#" class="btn btn-close btn-round"><i
							class="icon-remove"></i></a>
					</div>
				</div>
				<div class="box-content">
					<div id="search-form">
						<form class="form-search span12">
							<select id="deviceType" class="input-xlarge" name="deviceType" check-type="required" 
											required-message="请选择设备类型">
									<option value="1">电影院</option>
									<option value="2">维修</option>
									<option value="3">保洁</option>
									<option value="4">驾校</option>
									<option value="4">图书馆</option>
									<option value="4">足球场</option>
									<option value="4">超市</option>
									<option value="4">商场</option>
									<option value="4">医疗</option>
							</select>
							<input type="text" id="searchText"
								class="input-xlarge search-query">
							<button type="button" id="searchBtn" class="btn">&nbsp;&nbsp;搜索&nbsp;&nbsp;</button>
							<button type="button" id="newBtn" class="btn btn-danger pull-right">添加地址类信息</button>
						</form>
						
					</div>
					<table id="userInfo" class="table table-striped table-bordered ">
						<thead>
							<tr>
								<th>序号</th>
								<th>分类</th>
								<th>名称</th>
								<th>联系电话</th>
								<th>营业时间</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>1</td>
								<td>商场</td>
								<td>香港崇光百货SOGO </td>
								<td>2833 8338</td>
								<td>星期一至日早上10時至晚上10時</td>
								<td><a href="javascript:edit({{userId}})"><i
										class="icon-edit"></i></a> &nbsp;&nbsp; <a
									href="javascript:del({{userId}})"><i class="icon-minus"></i></a></td>
							</tr>
							<tr>
								<td>2</td>
								<td>药房</td>
								<td>香港龙城大药房</td>
								<td>852-2367-9274</td>
								<td>10:30~22:00</td>
								<td><a href="javascript:edit({{userId}})"><i
										class="icon-edit"></i></a> &nbsp;&nbsp; <a
									href="javascript:del({{userId}})"><i class="icon-minus"></i></a></td>
							</tr>
							<tr>
								<td>3</td>
								<td>电影院</td>
								<td>曼城世纪风电影院</td>
								<td>852-2367-9274</td>
								<td>10:30~22:00</td>
								<td><a href="javascript:edit({{userId}})"><i
										class="icon-edit"></i></a> &nbsp;&nbsp; <a
									href="javascript:del({{userId}})"><i class="icon-minus"></i></a></td>
							</tr>
							<tr>
								<td>4</td>
								<td>维修</td>
								<td>电脑维修站</td>
								<td>852-2367-9274</td>
								<td>10:30~22:00</td>
								<td><a href="javascript:edit({{userId}})"><i
										class="icon-edit"></i></a> &nbsp;&nbsp; <a
									href="javascript:del({{userId}})"><i class="icon-minus"></i></a></td>
							</tr>
						</tbody>
					</table>
					<div id="mypager" class="mypager"></div>
				</div>
			</div>
		</div>
		<!--/fluid-row-->

	</div>
	<!--/.fluid-container-->

	<jsp:include page="frame/scripts.jsp"></jsp:include>
	<script type="text/javascript">
	
	$(document).ready(function(){
		
		$("#newBtn").click(function(){
			//跳转至新增页面
			window.location.href = '<c:url value="/admin/addAddress" />';
		})
		
	})
	
	
	
	
	</script>
</body>
</html>
